﻿@using GP.Logic.Model
@model GpSysUser
@{
    ViewBag.Title = "Edit User";
}

<h2>Edit User</h2>

@using (Html.BeginForm(MVC.Doctor.EditUser()))
{ 
    @Html.HiddenFor(a => a.UserId);
    <p>
        Username: 
        @Html.EditorFor(a => a.Username)
        @Html.ValidationMessageFor(a => a.Username)
    </p>
    <p>
        Password: 
        @Html.EditorFor(a => a.Password)
        @Html.ValidationMessageFor(a => a.Password)
    </p>
    <p>
        <input type="submit" value="Save"/>
    </p>
}